<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<!DOCTYPE html>
<html class="x-admin-sm">
    
    <head>
        <jsp:include page="../base_head.jsp"></jsp:include>
        
    </head>
    <body>
        <div class="layui-fluid">
            <div class="layui-row">
                <form id="reportXMLform" class="layui-form" enctype="multipart/form-data" 
                action="/big-birds/type/type_add.do" method="post" >
                    <div class="layui-form-item" style="margin-right: 50px">
                        <label for="L_email" class="layui-form-label">
                            <span class="x-red">*</span>收支类型
                            
                        </label>
                        
	                        <div class="layui-input-inline" style="margin-right: 180px;padding-right: 40px" >
	                        
	                         
								    
							    <div class="layui-input-block" style="margin-left: 6px">
							      <select name="type_type" lay-filter="aihao"  style="display: block;padding-right:30px;cursor:pointer;
							      border-color:#D2D2D2!important;padding-left:10px;width:200px;height:38px;line-height:1.3;border-width:1px;
							      border-style:solid;background-color:#fff;border-radius:2px;box-sizing:border-box;outline:0;
							      Float:left"  >
							      
							        <option value=""  id="type_type">请选择类型</option>
							        <option value="1"  id="type_type">支出</option>
							        <option value="0"  id="type_type">收入</option>
							       
							      </select>
							    </div>
							  </div>
	                           
	                      </div>
	                        
                      
                    </div>
                    <div class="layui-form-item">
                        <label for="L_username" class="layui-form-label">
                            <span class="x-red">*</span>分类名称</label>
                        <div class="layui-input-inline">
                            <input type="text" id="type_name" name="type_name" required="" autocomplete="off" class="layui-input"></div>
                    </div>
                   <div class="layui-upload">
					  上传图片：<input id="icon_url" name="icon_url" type="file" /><br /> 
					
                    <div class="layui-form-item" style="margin-top: 50px">
                        <label for="L_repass" class="layui-form-label"></label>
                        <button type="submit" class="layui-btn" lay-filter="add" lay-submit="">增加</button></div>
                </form>
            </div>
        </div>
        <script src="${proname}/js/jquery.min.js"></script>
        
       
        
      <!--
        <script>
	        layui.use('layedit', function(){
	        	  var layedit = layui.layedit
	        	  ,$ = layui.jquery;
	        	  
	        	  //构建一个默认的编辑器
	        	  var index = layedit.build('textarea');
	        	  
	        	  //编辑器外部操作
	        	  var active = {
	        	    content: function(){
	        	      alert(layedit.getContent(index)); //获取编辑器内容
	        	    }
	        	    ,text: function(){
	        	      alert(layedit.getText(index)); //获取编辑器纯文本内容
	        	    }
	        	    ,selection: function(){
	        	      alert(layedit.getSelection(index));
	        	    }
	        	  };
	        	  
	        	  $('.site-demo-layedit').on('click', function(){
	        	    var type = $(this).data('type');
	        	    active[type] ? active[type].call(this) : '';
	        	  });
	        });
	        
	       
        </script>
        -->
    </body>

</html>